<template>
  <view class="recommend">
       

        <view class="media-house2 rmlp-item-con3" v-for="item in jdata" :key="item.id" @click="loupan(item.id)">
            <view class="pic click-position">
                
				<img class="lazy-timeout-click" :src="item.image" :alt="item.title" />
                <view class="eye2"></view>
                <view class="eye">
                    <img src="@/static/img00/yey.png" />
                    <span>{{item.click}}</span>
                </view>
            </view>

            <view class="text">
                <view class="house-name">
                    <h4 class="click-position">{{item.title}}</h4>

                    <span class="j-lb click-position ss-zs">在售</span>
                </view>

                <view class="nearby click-position">
                    <span class="nearby-in">{{item.tag_name_arr[0]}}</span>
                </view>
                <p class="house-infor click-position">
                    <span>{{item.qu}}</span>
                    <span class="h-area">{{item.area}}</span>
                </p>
                <view class="dynamic">
                    <p class="price click-position">
                        <span>{{item.price}}</span>
                    </p>
                </view>
            </view>
        </view>
    </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: {
  	jdata:{
  		// type: Array,
  		required: true,
  	}
  },
  methods: {
	  loupan(loupan_id){
		  this.$common.navigateTo("/pages/index/details/Details?loupan_id="+loupan_id);
	  }
  },
};
</script>

<style scoped>
.recommend {

  margin-bottom:40rpx;
}
.hd {
  width: 750rpx;
  height: 56rpx;
  margin: 40rpx 0 20rpx 40rpx;
}
.hd > p {
  float: left;
}
.consult-haed {
  font-size: 42rpx;
  font-weight: 600;
}
.know {
  margin-left: 300rpx;
  color: #a8adb4;
}

.media-house2{
    height: 168rpx;
    width: 670rpx;
    margin: 0 auto;
    display: flex;
	margin-bottom: 20rpx;
}

.pic{
    width: 224rpx;
    height: 168rpx;
}
.lazy-timeout-click{
     width: 224rpx;
    height: 168rpx;
}
.eye2{
    height: 45rpx;
    background: #000;
    margin-top: -58rpx;
    opacity: .3;
}
.eye{
    position: absolute;
    height: 45rpx;
    box-sizing: border-box;
    padding-left: 10rpx;
    margin-top:-46rpx ;
    display: flex;
    align-items: center;
    color: #fff;
    z-index: 99;
}
.eye>img{
	width:40rpx;
	height:25rpx;
    padding-left:20rpx;
    float: left;
}
.eye>span{
    padding-left:20rpx;
    float: left;
}
.text{
    height: 166rpx;
    width: 420rpx;
    margin: 0 auto;
    
}
.house-name{
    height: 50rpx;
    width: 430rpx;
}
.house-name>h4{
    float: left;
    font-size:32rpx;
    color: #031a1f;
    font-weight: 700;
}
.j-lb{

    /* position: relative; */
    /* left:6.7rem; */
    float: right;
    background: #0ad487;
    padding: 3rpx 12rpx;
    font-size: 24rpx;
    color: #fff;
    border-radius: 6rpx;
}
.nearby{
    height: 32rpx;
    font-size: 24rpx;
    color: #35CCCC;
  
}
.nearby-in{
    width: 140rpx;
     padding: 6rpx 10rpx;
     background: #f3f6f9;
     line-height: 32rpx;

}
.house-infor{
    height: 40rpx;
    line-height: 40rpx;
    color: #8d9799;
    font-size: 24rpx;
    overflow: hidden;
}
.h-area{
    padding-left:40rpx;
}
.price {
    font-size: 28rpx;
    font-weight: 700;
    color:#fa5f35;
}

</style>
